#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main()
{
  pid_t id=getpid();
  pid_t fid =getppid();
  while(1)
  {
    printf("I am a process pid:%d fid:%d \n",id,fid);
    sleep(1);
  }
  return 0;
}
